package org.jeecg.modules.pubmgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: hadoop服务器表
 * @author： jeecg-boot
 * @date：   2019-05-16
 * @version： V1.0
 */
@Data
@TableName("t_sys_hadoop")
public class SysHadoop implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**数据源标识*/
	@TableId(type = IdType.UUID)
	private String id;
	/**hdfs名称*/
	@Excel(name = "hdfs名称", width = 15)
	private String fdHdfsname;
	/**默认FS*/
	@Excel(name = "默认FS", width = 15)
	private String fdDefaultfs;
	/**配置路径*/
	@Excel(name = "配置路径", width = 15)
	private String fdConfigpath;
	/**参数*/
	@Excel(name = "参数", width = 15)
	private String fdParam;
	/**数据库环境*/
	@Excel(name = "数据库环境", width = 15)
	private String fdEnvironment;
	/**关联hive数据源*/
	@Excel(name = "关联hive数据源", width = 15)
	private String fdHiveSource;
	/**关联meta数据源*/
	@Excel(name = "关联meta数据源", width = 15)
	private String fdMetaSource;
	/**标识*/
	@Excel(name = "标识", width = 15,dicCode = "hadoop_hdflag")
	@Dict(dicCode = "hadoop_hdflag")
	private String fdHdflag;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	private Integer createUser;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	private Integer updateUser;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
	private Integer isDetele;
}
